import request from '../api'

const URL = '/testCase'

export function addCase(dto){
    return request.post(URL+"/addCase",dto)
}

export function getTestCaseById(id){
    return request.get(URL+`/getTestCaseById/${id}`)
}

export function modifyTestCase(dto){
    return request.put(URL+"/modifyTestCase",dto)
}

export function deleteTestCaseById(id){
    return request.delete(URL+`/deleteTestCaseById/${id}`)

}